CUW\App\Modules\Campaigns\FBT D

Total Complexity 150
Dependencies 9
Dependents 1
Total lines 654
Lines of code 444
Logical lines of code 247
Comment lines 139
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
addProductsToCart()
D
31 40 91
showProducts()
C
36 25 70
init()
A
47 10 31
getProductsFromOrders()
A
46 9 36
getMatchedCampaign()
A
49 9 30
mayLoadDeprecatedTab()
A
46 8 37
saveProductMeta()
A
53 8 23
getProductIdsToDisplay()
A
52 8 23
getIds()
A
55 8 20
getDiscount()
S
60 6 13
addProductDataTab()
S
59 4 14
showProductDataPanel()
S
61 3 12
getProductsDisplayLocation()
S
67 3 7
campaignEditView()
S
67 2 8
isUseCustomProducts()
S
68 2 7
loadVariantSelect()
S
73 1 4
loadSavingsSection()
S
77 1 3
loadVariantSelectModal()
S
77 1 3
getProductIdsFromOrders()
S
79 1 3
getDisplayLocations()
S
64 1 9